from django.urls import path
from apps.goods import views

urlpatterns = [

    # GET 商品列表 http://www.meiduo.site:8000/list/115/
    path('list/<int:id>/skus/', views.GoodsListView.as_view()),

    # GET 热销商品 http://www.meiduo.site:8000/hot/115/
    path('hot/<int:id>/', views.GoodsHotView.as_view()),
    # 商品搜索 http://www.meiduo.site:8000/search/
    path('search/', views.SelfSearchView()),

]
